home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / f90 / huge.z / huge
Text File  |  1998-10-30  |  4KB  |  84 lines

  1. HUGE(3I)                                               Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      HHUUGGEE - Returns the largest number in the integer or real numeric model
  6.  
  7. SSYYNNOOPPSSIISS
  8.      HHUUGGEE (([XX==]_x))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, and IRIX systems
  12.  
  13. SSTTAANNDDAARRDDSS
  14.      Fortran 90
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The HHUUGGEE intrinsic function returns the largest number in the model
  18.      representing numbers of the same type and kind type parameter as the
  19.      argument _x.  It accepts the following argument:
  20.  
  21.      _x    Must be of type integer or real.  It may be scalar or array
  22.           valued.
  23.  
  24.      HHUUGGEE is an inquiry function.  The name of this intrinsic cannot be
  25.      passed as an argument.
  26.  
  27. NNOOTTEESS
  28.      On UNICOS systems, both execution speed and the number of bits used in
  29.      mathematical operations are affected when compiling with
  30.      ff9900 --OO ffaassttiinntt, which is the default setting.  For more information,
  31.      see _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-
  32.      3901.
  33.  
  34. RREETTUURRNN VVAALLUUEESS
  35.      The result is a scalar value of the same type and kind type parameter
  36.      as _x.
  37.                                _q
  38.      The result has the value _r -1 if _x is of type integer and the value
  39.          -_p                 _e sub max
  40.      (1-_b  ) multiplied by _b          if _x is of type real, where _r, _q, _b,
  41.      _p, and
  42.  
  43.      _e     (represented as "_e sub max" in the previous equation) are
  44.        max
  45.      as defined in the real number model, which represents numbers of the
  46.      same type and kind type parameter as _x.  For more information on the
  47.      real number model, see the MMOODDEELLSS(3I) man page.
  48.  
  49. EEXXAAMMPPLLEESS
  50.      On UNICOS systems, HHUUGGEE((XX)) has a value that approximates
  51.          -47                 8189
  52.      (1-2   ) multiplied by 2     for real XX.
  53.  
  54.      On CRAY T90 systems that support IEEE floating-point arithmetic,
  55.      HHUUGGEE((XX)) has values that approximate the following:
  56.            -24                 128
  57.      * (1-2   ) multiplied by 2    for real ((KKIINNDD==44)) XX
  58.            -53                 1024
  59.      * (1-2   ) multiplied by 2     for real ((KKIINNDD==88)) XX
  60.            -113                 16384
  61.      * (1-2    ) multiplied by 2      for real ((KKIINNDD==1166)) XX
  62.  
  63.      On UNICOS/mk systems, HHUUGGEE((XX)) has values that approximate the
  64.      following:
  65.            -24                 128
  66.      * (1-2   ) multiplied by 2    for real ((KKIINNDD==44)) XX
  67.            -53                 1024
  68.      * (1-2   ) multiplied by 2     for real ((KKIINNDD==88)) XX
  69.  
  70.      On IRIX systems, HHUUGGEE((XX)) has values that approximate the following:
  71.            -24                 128
  72.      * (1-2   ) multiplied by 2    for real ((KKIINNDD==44)) XX
  73.            -53                 1024
  74.      * (1-2   ) multiplied by 2     for real ((KKIINNDD==88)) XX
  75.            -107                 1023
  76.      * (1-2    ) multiplied by 2     for real ((KKIINNDD==1166)) XX
  77.  
  78. SSEEEE AALLSSOO
  79.      MMOODDEELLSS(3I)
  80.  
  81.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  82.      printed version of this man page.
  83.  
  84.